package com.zy.dao.bs;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.zy.dao.base.BaseDao;
import com.zy.entity.bs.Car;
import com.zy.pojo.query.bs.CarQuery;

public interface CarDao extends BaseDao<Car> {

	List<Car> listCar(@Param("carQuery") CarQuery carQuery, @Param("start") Integer start, @Param("limit") Integer limit);

	long countCar(@Param("carQuery") CarQuery carQuery);

	List<Car> getListCars(@Param("userId") Long userId);

}